﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CC_day_14___Shapes_MVC.Models;

namespace CC_day_14___Shapes_MVC.Models
{
    public class Rectangle : Shape
    {

        public double Length { get; set; }
     
        public double Width { get; set; }

        public override double GetArea()
        {
            return this.Length * this.Width;
        }

    }
}